<%@ page import="databeans.*"%>
<%@ page import="java.util.ArrayList" %>

<jsp:include page="../common/header.jsp" />

<title>Carnegie Financial Services - View Account</title>
</head>

<body>
	<div id="container">
    	<div id="header">
        	<h2>Carnegie Financial Services</h2>
    		<jsp:include page="../common/top-menu.jsp" />
      </div>
        <div id="wrapper">
            <div id="content">
            	<div id="box">
	            	<h3>Request A Check</h3>
	            	<jsp:include page="../common/messages.jsp"/>
	            	<p>Current Cash Balance : <b>$<% out.println(request.getAttribute("cashBalance")); %></b></p> 
	            	<%if(Double.parseDouble((String)request.getAttribute("cashBalance"))>0.0){ %>
	            	<form id="form" action="customerRequestCheck.do" method="post">
            			
            			<br/>
            			
	                    <label for="txtAmount">Amount($) : </label>
	                    <input name="txtAmount" id="txtAmount" type="text" tabindex="1" />
	                    <br />
	                    
	                    <br />
	                  <div align="center">
	                  		<input type="submit" value="Request Check" name="Submit" id="button1" tabindex="2"/>
	                  </div>
	                </form>
	                <%}%>
	            </div>
            </div>
            
            <jsp:include page="../common/sidebar.jsp" />
      </div>
        <jsp:include page="../common/footer.jsp" />
</div>
</body>
</html>

